package com.chilly.other.pattern.template;

/**
 * Created by Chilly Cui on 2020/12/11.
 */
public class NoticeSms extends NoticeTemplate {
    public NoticeSms(String byType) {
        super(byType);
    }

    @Override
    protected void sendNotice() {
        System.out.println("发送短信消息");
    }

    @Override
    protected void buildNotice() {
        System.out.println("公益短信：时代楷模");
    }

    @Override
    protected void receiver() {
        System.out.println("收件人手机号：131xxxx1001");
    }

    @Override
    protected void sender() {
        System.out.println("发件人手机号：131xxxx1001");
    }
}
